package com.wertop.viid.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description KeepaliveObject
 * @Author yempty
 * @Date 2020/6/16 16:31
 */
@Data
@ApiModel("保活对象")
public class KeepaliveObject implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("设备 ID")
    @JsonProperty("DeviceID")
    @NotNull(message = "设备ID不能为空")
    private String deviceId;
}
